Skip to content

Avoid overwriting film_grain_params_present per frame - #5321

Merged
urvangjoshi merged 1 commit into
AOMediaCodec:mainfrom
xinzhao-apple:mr/avm-bugfix5
Aug 27, 2026
Merged

Avoid overwriting film_grain_params_present per frame#5321
urvangjoshi merged 1 commit into
AOMediaCodec:mainfrom
xinzhao-apple:mr/avm-bugfix5

Conversation

@xinzhao-apple

Copy link
Copy Markdown
Contributor

The sequence header writes this flag once, so overwriting it every frame with the per-frame grain-table lookup made later frames emit grain syntax the decoder never reads, desynchronising the bitstream.

Fix issue #5320.

The sequence header writes this flag once, so overwriting it every frame
with the per-frame grain-table lookup made later frames emit grain syntax
the decoder never reads, desynchronising the bitstream.
@urvangjoshi
urvangjoshi merged commit 29f8c7c into AOMediaCodec:main Aug 27, 2026
5 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants